<?php

use yii\helpers\Html;
use app\modules\clinical\models\ExcelCmt;

/* @var $this yii\web\View */
/* @var $model app\models\ExcelCmt */
/* @var $form yii\widgets\ActiveForm */
?>

<h4>病史资料</h4>

<div class="form-group">
    <?= Html::label('患者姓名', 'pt_rel') ?><br />
    <?= Html::dropDownList('pt_rel', (!empty($pt_rel)) ? $pt_rel : 0, $pt_rel_list, ($model->isNewRecord) ? ['class' => 'pt_rel_list'] : ['class' => 'pt_rel_list', 'disabled' => 'true']) ?>
</div>

<?= $form->field($model, 'pt_age')->textInput()->error(false) ?><br />

<?= $form->field($model, 'pt_history')->textArea(['maxlength' => true])->error(false) ?>

<h4>体征</h4>

<?= $form->field($model, 'bd_jixing')->radioList(ExcelCmt::getParams('youwu'), ['class'=>'radioList'])->error(false) ?><br />

<b>肌萎缩（鹤腿）:</b><br />

| <?= $form->field($model, 'bd_weisuo_l')->radioList(ExcelCmt::getParams('youwu'), ['class'=>'radioList'])->error(false) ?>

| <?= $form->field($model, 'bd_weisuo_r')->radioList(ExcelCmt::getParams('youwu'), ['class'=>'radioList'])->error(false) ?><br />

<b>肌力：</b><br />

<?= $form->field($model, 'bd_jili_lu')->listBox(['0', '1', '2', '3', '4', '5'])->error(false) ?>

<?= $form->field($model, 'bd_jili_ld')->listBox(['0', '1', '2', '3', '4', '5'])->error(false) ?><br />

<?= $form->field($model, 'bd_jili_ru')->listBox(['0', '1', '2', '3', '4', '5'])->error(false) ?>

<?= $form->field($model, 'bd_jili_rd')->listBox(['0', '1', '2', '3', '4', '5'])->error(false) ?><br />

<b>腱反射：</b><br />

| <?= $form->field($model, 'bd_fanshe_xi')->radioList(ExcelCmt::getParams('jianfan'), ['class'=>'radioList'])->error(false) ?><br />

| <?= $form->field($model, 'bd_fanshe_gen')->radioList(ExcelCmt::getParams('jianfan'), ['class'=>'radioList'])->error(false) ?><br />

| <?= $form->field($model, 'bd_fanshe_gong')->radioList(ExcelCmt::getParams('jianfan'), ['class'=>'radioList'])->error(false) ?><br />

| <?= $form->field($model, 'bd_fanshe_rao')->radioList(ExcelCmt::getParams('jianfan'), ['class'=>'radioList'])->error(false) ?><br />

<?= $form->field($model, 'bd_zhangai')->radioList(ExcelCmt::getParams('youwu'), ['class'=>'radioList'])->error(false) ?><br />

<?= $form->field($model, 'bd_shenjing')->textArea(['maxlength' => true])->error(false) ?><br />

<?= $form->field($model, 'bd_butai')->textArea(['maxlength' => true])->error(false) ?><br />

<?= $form->field($model, 'bd_romberg')->radioList(ExcelCmt::getParams('youwu'), ['class'=>'radioList'])->error(false) ?>

<?= $form->field($model, 'bd_gongji')->radioList(ExcelCmt::getParams('youwu'), ['class'=>'radioList'])->error(false) ?><br />

<?= $form->field($model, 'bd_bingfa')->radioList(ExcelCmt::getParams('youwu'), ['class'=>'radioList'])->error(false) ?><br />

<b>其他：</b><br />

| <?= $form->field($model, 'bd_else_yanji')->radioList(ExcelCmt::getParams('youwu'), ['class'=>'radioList'])->error(false) ?>

| <?= $form->field($model, 'bd_else_shi')->radioList(ExcelCmt::getParams('youwu'), ['class'=>'radioList'])->error(false) ?>

| <?= $form->field($model, 'bd_else_yanzh')->radioList(ExcelCmt::getParams('youwu'), ['class'=>'radioList'])->error(false) ?><br /><br />
